__author__ = 'lukasz'

from django.contrib import admin
from Publications.models import Publication, Author

#admin.site.register(Publication)
#admin.site.register(Author)



from cms.admin.placeholderadmin import PlaceholderAdmin


class AuthorInline(admin.StackedInline):
    model = Author

class PublicationAdmin(admin.ModelAdmin):
    inlines = [AuthorInline]

admin.site.register(Publication, PublicationAdmin)
